worked on plugin mechanism for pathways in entourage
Changed the way pathways are plugged in to entourage (fixed #1682)
Other bugfixes/cleanup