Cleaned up movement code in Entity and Player. Introduced ThirdPersonMode enum, to replace int.