html renderer refactoring; main menu config suggested