Implemented realtime plotting of macro output and macros in data viewing