MYST3: Fix an incorrect null check
MYST3: Fix an unlikely memory leak.
MYST3: Fix some uninitialized vars
MYST3: Rename a class for clarity
MYST3: Fix a theorical null pointer dereference
MYST3: Fix a theorical null pointer dereference