the right way to make button presses or RETURN do something is the way it's done in compile-mode
