Cleaned up some more code, added HTML-escaping, and began to add HTML RegEx.