Fixed bug

making illegal move then quitting caused crash.  fixed.