changes in DeviceData
poller splitted to poller and pollthread