Switched from deprecated "select" to "selectInEditor".
Implementations for layer and drum pad obervations (API not fully working but keep code).