Allow moving off the bar
Fix crash when moving off the board
Minor cleanups