Fixed bug in adjustInstSel() on slave number adjustment
Made DPlib comment issue an explicit TODO
Updated 'application' to 'device'