Bunch of changes to gui controllers, added new illegal move detection