Fix nullpointer exception.
Fix error where tag files were left out of the JAR file
Escape HTML to protect against XSS attacks.