moved utility function to Settings
minor
fixed problem with getLastScreenImageFile()