Save images as compressed jpg
Send `stop`-event to nTimeRec-API if the application receives a `NSWorkspaceWillSleepNotification` or a `NSWorkspaceWillPowerOffNotification`