more bug fixes

issues 12, 47, no wifi warning on database update