Fixing issues: Escaping html logs, setting up proper listen script url when running locally

Fixes issues #47 and #39