isProgramRunning and areProgramsRunning were inverted.