Enable text input while console is visible.
Fix whitespace.
Parameterize ControlAction on value type.

This is to support actions that take a type other than int.