Added ability to automatically send all events in buffer at a regular time interval (closes #3)