Merge target-settings into task-settings; fix
Call process.exit() with the right status-code; fix