Fixed IndexOutOfRangeException in CommandLine\Open.cs
Added opening feature for the Retrieve command. Added security to the Quit command