-Fixed some bugs with chat parsing

-Added new chat command "/gui" that will open up the main GUI again on the server if running in interactive mode
-Tweaked the resource locking code when refreshing sector entities