There were some substantial additions in r1825 which presumably caused this. I dropped Jeck a line, and I think he's working on this part of the code right now, so I guess it'll be fixed soon. In the meantime, reverting to r1824 should solve the problem (please report if it doesn't).
Edit: Or switch to r1836 (just committed) which looks like it should solve this problem.
Hey, I'm sorry about that. I hit commit from the wrong folder, and wound up posting a bit of code from some stuff that isn't in the SVN. It's fixed in the latest revision, thanks for pointing it out.
There will likely be more bugs in the next few days, though hopefully you'll like the major changes I've done to the code. I've been working on some features that'll make the shop and deck editor a lot easier to use .