bug fixed in session switching
normal mode moved to fate; some drawing fixes
log thread properly closed on exit