Added signal to end game, and tried to fix page error