added end of game + some minimal GUI