Clean up HTML output, remove unnecessary data
Bug fixes in fragment support
Fragment fixes