Main Window: make path in arguments absolute