Changed implementation of updateBoard to use a fold.
Tweaks to other GUI and parser.