Merge pull request #135 from angathorion/gui-tests
Added code for visitor pattern, fixed compile issues.

(main@ba75b8aa73951dbbaff8e9b54eb09d1813ad2de4)