Support adding and removing plugin directories
Improve plugin manager start and stop