[CorDebug] Made MtaThread class static and marked some fields readonly.