Fixed previous NullPointerException errors when running BoardGUI straight away.