Add spinner support, minor changes.
Proper url and html escaping in browse
Convert paths to URLs and back at Python level, not in JS