add screenshotting, remove debug option