Started the code for the main editor panel.