maybe add an else clause to debug print out that a screenshot could not be saved, so the user knows.