Performance!

Quite a few performance updates + preparation for allowing touch-input
control of the player.