add a startup priority field to plugins (lower = sooner) and startup plugins according to that priority.
should fix errors when the html plugin starts before the wiki plugin