Added qm_invoke macro.
Removing unused macros in m.h.
Using qm_invoke macro.