Demonized server, added error logs