Updated exit, clean exit of threads.
Added 'exit' attribute that is accessed by UI.
Merge branch 'master' of github.com:jimmoffitt/dmApp