Add undo button and fix PGN header info