Unbind keys at game start and end.
Rearrange code a bit.