edits to servergui and functions