Restored original state of mt_thread structure. Refactored smt->cmt
(Cooperative Multi Threading). Moved sleep callback timer from auto var
to cmt_thread member due to 6502 stack content swapping during context
switch.