TypeScript update.
Rewiring saving to HTML and ZIP.