Move creation of the database in the initialization thread
Remove unneeded lines
Add a handler to show initialization messages
Add initialization progress messages
Refresh peers in the web interface after a handshake was complete