Fixed top level exception on /submit/. Started work on relative urls.