Various piano roll fixes