Move some initialization code to make it more similar to the code in main_mt.c
Move some initialization code to make it more similar to the code in main_mt.c

gatzka/cjet,mloy/cjet,mloy/cjet,gatzka/cjet,gatzka/cjet,mloy/cjet,gatzka/cjet,mloy/cjet,gatzka/cjet,mloy/cjet