Fix crash when rapid firing command line commands

Change-Id: I0caaa51720fe3608b8c4cb02f046afb3cbaa54f9
diff --git a/gui/gui.cpp b/gui/gui.cpp
index 8006339..2c6418e 100644
--- a/gui/gui.cpp
+++ b/gui/gui.cpp
@@ -936,6 +936,10 @@
 		return -1;
 
 	gGuiConsoleTerminate = 0;
+
+	if (gGuiConsoleRunning)
+		return 0;
+
 	gGuiConsoleRunning = 1;
 
 	// Start by spinning off an input handler.