Preview in the sidebar

Also laid the groundwork for the creation of xml configs in javascript
to improve server performance if the need is required.
Next is to create the url input.