take cmdline parm for source file (to allow FIFO)
remove import limit
fix up table creation
some error handling, debug removal