Implemented session management, reimplemented task display to use QTreeWidget.

so if you use it here, then you can make it a class constant right? no need for namespace global constant.