Refactoring player control into PlayerControlAppState, using BetterCharacterControl and preventing flying.