Added a count to the state machine

It tics up while it is in the same state.
Added scale and updated some variables for drawing
Invented "pressed" vs "holding"

When the player first presses a key, the entity records that. During
update, as long as a key is either pressed or being held, it continues
to be held. The statemachines all make a difference between pressed
and holding.
Added a background image