Remove unused import.
Case-sensitive requirements.txt.
Be more careful with the flask.g namespace.
Port update script over from old TG2 app.
Correct old icon code.
Drop xapian stuff.  Use pkgwat.api.