Add initial support for command-line configuration.

Remove hardcoded paths.
Prevent crash on missing AviSynth.dll.

Also fix solution file.