Added bounds checking & fixed continuous velocity

Left and right map edge bounds checking was added.
A flag set when a remote device moves the player.  If the remote moved
the player, left or right velocity is not set to 0 when a key press is
not detected.