editor: use signals for internal communications

Instead of all these objects having to know about each other, use
Qt's signal/slot mechanism to notify each other. This allows us
to unmangle some dependencies, yay!
editor: prevent editing when playing
editor: make space enter value

Previously we were discarding it. But let's be consistent with the
logic of the other keys instead.