Removed unneeded argument from gear_get_globals and fixed some errors in the comment documentation in gear.h