Fix a bit of regex, stop error outputs
Database moved to use a proper daemon format for stability
Change DB connection string and quoting mechanic
Make database connections persistent in an attempt ot avoid some breakage
Merge remote-tracking branch 'origin/master'