Integer extension numbers
Non-exclusive getDeviceId

Now multiple sessions may control the same device
UnknownAgent error
Decouple controlAgent and action/event processing
SIGTERM handling