Added some more code to the game state movement validation code.