Fix opening viewing plots in windows. (fixes #21)