Cleanup main event loop
Clean up of main loop closes #106 (closed). Currently simplistic - just moves related items out of main loop into function calls. If desired, these could be wrapped in their own module 'SingleBTagEvent' or something similar. Ran a few test dumps, and results seem to be identical, but currently failing a test job.
closes #106 (closed)