Make it work!

The previous version didn't work (images didn't load, etc) and now it should work, as well as supporting get params from a form element. Excuse the commit messages.