fixed a whole load of problems with gameplay and winning, spawned by amateur coding :)