Fixed some initialization issues.

Added silent failure to ModuleQuit.
Fixed MORE initialization issues.
Cleaned up some code.