Added option to set gDebug from InitRootHandler's parameters