Added support for command-line arguments and "Open with" in context menu