Main window: Make argument paths absolute.
Merge pull request #12 from ArseniyK/Issue_342

Make a path absolute before parsing arguments.