added wrapper to pick up runtime errors and display them politely
config can now work for windows directories for issue #2
generic config file name for windows and nix as per issue #2