Implemented session management, reimplemented task display to use QTreeWidget.

Just made them class constants. Will delete this file.