some a4 and noteoff bugfixes