Cleanup, commenting, enhanced logging and stabilization. Better cleanup
of resources during forced exit.
Merge branch 'master' of https://github.com/damaniac82/doubledose.git