Refactored mapping of relative positions.
Added debugging options.
Optimized random movement.

Store previous direction on server, and keep on moving in
the same direction if no other inputs are available. This
seems to result in more dynamic movement and higher points.