added favicon and fixed a game end bug