WIP handleInput state machine; adds debug overlay for controlState