Fixed bug causing plugins not to be auto-activated when items were requested. Fixed a couple of other minor bugs causing startup errors.