Fixed issues with GUI's opening multiple times.