Radical new plugin manager

 Initial fix to prevent serveral plugin crashes.
Further work required.

The mstyle.cpp and note.h changes are mine, I'm not sure why the other four files are showing up... ?

Fix #25292 Fix #25604 Fix #25051