Start rationalizing connection between frontend and backend.
set connected.
also set connected from the background for now.
Merge branch 'develop' of https://github.com/darkwallet/darkwallet into develop
Protect from empty hashes.