Stupid way to ensure the gui only opens once