Corrected errors in handling of variations, added close button for showing PGN.
Merge remote-tracking branch 'origin/master'