Initial GUI and simple keyboard handlers.