move all macros into GMacros.h