Issue598cmdline

Fix part of Issue #598 where the Windows commandline file-load was not working. (Probably due to QDir acting differently than QFileInfo with the 'C:\' that prepends absolute paths in Windows)

Also handle spaces-in-filenames better on windows.