Moved NeedTableError into table.py, implemented a little more of sqlite input/output, added generation of the file dialog type-filter from the registry file, which was an overlooked aspect of #41.