removed drain-ref! and modified concat-drain! to use atom
fixed up tests
fixed processing of control-functions
run engine events with bindings so that funcs get correct sr, buffer-size, etc.