bugfixes, simplification of device modification algorithm
beginning of listmanager simplification