Fixed Issues #17 and #29. PGN output now works in game and analysis mode and if moves are undone. The engine score is now from white's point of view