changed set tempo midi event handling to use current tempo offset