NewDB now validates filename
updated compile scripts
switched backend out of debug mode.
Merge remote-tracking branch 'remotes/origin/master'