Put megatest main call into thread so that mailboxes work