added new devices view + fixed bug causing threads to stay active after view had been removed