Fixes to DB and FTP

Database save issues addressed, FTP connections set correctly.  JS
console.log calls removed.