Create a new channel as a copy of main.
Rename main to:
Delete main? This cannot be undone.
new_pane = function() return {editor_state = code_editor_state()} end