add framework to grab periodic events, such as CPU timings. also implement that particular periodic event. make the output of POST messages to stdout toggleable.