fixed log event being treated as html
improved and final web/Menu API