How to change the main panel

This is not possible with the current API and has been requested. See this feature request