Made the reload command close all open GUIs