Merged screenshot and winshot, added conf file

screenshot now accepts a parameter "window", giving it the functionality of winshot
also added a config file and some error messages