fixed session log, improved error log, replaced tabs with spcaes