change postgres copy format to csv and escape quotes in subjects to prevent breakage
modify start script to provide proper tracebacks when exceptions are thrown during scanning