Improvements on the thread handling and messages from the database creation