prevent potential headers already sent error
added Interest Report resource and snippet
updated tutorial
added lex strings for snippet