Added endgame detection, cleaned up Scorer, added distinction between Tile filename and type, fixed GUI syntax