Quiet down output, check if process ended on its own, small code cleanup