Changed how files are opened in new windows, as Chrome didn't work when multiple files needed to be opened in separate windows.