fix for osx and linux
Hopefully fixed the osx and linux problem. and removed in the invalid text until I think of a better way to handle letting the user know the screenshot key is invalid.