refactored output formatting
added current time to printable data
factored out data generation in example
fixed duration in example
fixed race condition when closing stylers
added csv outputter