Small fixes

- output to four letter formats (svgz etc.) fixed
- last fraction was not displayed, fixed