fix some renderer references
load layer definitions remotely
more flexible, and will be useful for allowing web worker to load layers and styles that include functions (e.g. aren't just plain JSON)