Code cleanup.
Now GUI can be enabled in the engine configuration scripts.