Intermediate: Changing to state system

Intermediate check-in during switch to player-states and smoothed
time-based motion instead of fixed pixels per tick. Broken check-in
because main.cpp is older than the rest due to being wiped out during a
failed experiment with JetBrains CLion IDE (EAP).