Implements and fixes quite a lot of stuff in Player.