implemented computer shutdown after download complete, improved patch restart, refs #32