Bug fixes in InputController, and correcting the requires of a character state.