Now closes PDF viewer and reopens

Without this change a access error would happen blocking pdflatex.exe from writing to the file already in the pdf viewer. This closes the pdf viewer, writes the pdf, then reopens it.