Fix regarding saving screenshot file. Changed sleepTimer to int.