replay and new game in end game implemented, code improvements in endgame activity
merging