Now the game rechecks for player input after a dialog closes or a Scene transition is made.

Limited some variable scopes