Added win condition + debug messages to gui