Finish the main frame of the plugin.