Added shuffle functionality; added endgamedialog