Some code updates that gets DB exports to work, kinda.  Still need to add file handler to export to a named file.
Small bug fixes in deploy.py