possibly fix deadlocking issues with tempo map by rearranging code and adding RT...