Refactor backend to be more OO. Various fixes.
Use stylesheet's literal href as vim buffer name