Adjusted exception handling in main.cpp

Exceptions cought in main will now be printed to std::cerr on Windows,
too.
Changed handling of command line arguments

Program will now respond to"--help"/"-h" and accept two, one or none
script files as arguments.