CamelCase SearchFromDatabase() and naming of Search thread
adding MessageWorkerLoop() for getting new messages.