minor tweaks

fixed wait at end processing, began method for checking buffer, and
added calmc and retmc opcodes for macros