add config option for debug
make sure "load global" didn't fail
move "load global" to core.irc