Changed bool & to const bool.
Changed bool & to const bool.
No longer do keys need to be switched off by the player, thus keys need not be passed by reference.