Major plug in and performance improvments

4 months worth of tweaks. Significant upgrade with a plugin model. Several significant performance improvements.