Revert "Redirect stdin/stderr/stdout to /dev/null in daemon mode"
Remove daemon support due to delayed popular vote (part 1)
Revert "Add daemon support for linux like operating systems"
Remove daemon support due to delayed popular vote (part 2)
Codestyle cleanup (main.cpp)