Fix up latexmath2png a bit and Make gui elements a bit nicer when resizing. Defaults to one line of text now instead of two. (A bad commit since it fixes multiple things but what to do.)