Separate creating the mudlet instance from accessing it.

In situations where something tries to access mudlet (the class), before
or after it is constructed or destructed, respectively, making it easier
to tell what is going on.
Fix TEvent handling so it doesn't crash anymore.