Maybe I'll rewrite the entire plugin...

Actually, we don't export anything, so, why do you use export menu ?!
I think I'll use the Library -> Plug-in Extras to store all the actions.
What do you think about this GUI for the plugin ?
(there are no options, no optimisation, only a copy paste to see the result; removed troubleshooting tabs, do you use it ?)
The gain with this method, is to be able to load cr2hdr options in MLV importation to chain the operations.
The only thing that we'll loose is the shortcut CMD+SHIFT+E to quickly access to export menu.
Any suggestions ?