add disableSelection, transfer code from polyrhythmV