add maxGetCgminerPidAttempts; check for existence of screenMinerCmd; fix reboot bug re: lastApiResponse