More macros
Fixed macros to compile with dg and rperf

At least the current set of macros is (almost) compatible with the exposés that I wrote. I still have to fix the dgMod not being a command with a parameter anymore though.