further work June 12
call End for event handlers
add global vars and a TTree, still prototype
fleshing out features