Added SessionLogger
fixed session logger (rather ugly hack), added logging to treequencer