clean up styling, formatting, epub3 output