minor changes
session and ui scoped merged
logging window implemented
most color stuff works
color handling improved
session bar colors corrected
logging window fixed
minor updates
ui refresh moved to seperate thread.
bug fixed in session switching
normal mode moved to fate; some drawing fixes
log thread properly closed on exit
moved some commandwin functionality
user interface fixes
misc changes
Merge branch 'write-ui-as-plugin' into winsupport

Conflicts:
	todo
	tui/userinterface.py