mac os bugfix : pdflatex command, closewindow, horizontal scroll