Fixed usuage of scheduling function to allow interaction with program while image is updating