Fixed NullPointerException when running BoardGUI straight away.
Fixed NullPointerException in BoardGUI constructor.