taking care of a bunch of bugs related to track adding and midi view display with y-offset