Issue 171: Handle multiple WebUI clients.

* Adding instance list for devices.
* fixed mutex to be RW
* added debug on Quitter for worker.