fixed us of "static"; more code cleanup; revamped implementation of midi-thru (which seems to work now :)