bugfix - macros.js - pre-apply clock triggers for corrected display

This should fix the issue with mis-timed inputs such as interrupts. Issue #32.