corrected some errors preventing ffmonitor from running correctly