disconnect gui
finished disconnecting gui