Fixed incompatibilities with other plugins, globalized $mybb object (for some reasons, in certain forums it isn't set as $mybb but as $GLOBALS['mybb']… weird, but resolvable)