better error handling for monitor

still trying to figure out what's wrong...
fixed issue with inserts - new problem arising between 25k and 50k lines, stops processing.
unset session on start to prevent progressbar glitch
import fully working!