Changes:

Simplified Registry code for shell extension,
Use different window title if --test parameter is passed,
If both the shell extension and the --test parameter are to be invoked,
--test must come after the file path