supressed warnings, removed unused imports and fixed a warning in
serverGUI