code cleanup
improved exception dump to string
initial work on dump to html