Standardised Paths and Url's

The Path and URL variables were all over the place, so now paths[] and
the url variables are used throughout the ENTIRE plugin.