Stage commit before doing important changes.
Fixed return on daemonization.