moved engine.generate_toolbar() to engine.html.toolbar()