Buttons working properly.  Fixed edge conditions so that the player cannot move off-screen.