Removed unused var in states.
Each state handles its own input. Can change state via key presses.