Slight improvements to build monitoring script.