Add menu entries and polish the code editor example.