Fix device locking behavior.
Fix device locking behavior.

I guess now we have to lock all the device components to make sure they
don't get reassigned to whatever device is currently selected.

macfergus/alias8,macfergus/alias8