Added commandline opening feature (prepared for open in tab also)