Scrap stub lua support.

Not worth doing for me at this point. Anybody else is welcome to implement it
though.
Permit exporting from line mode.
Fix db updates from line mode
Mark the db as changed when a file is deleted