move more code to cleanfigure, add option 'floatFormat'
code cleanup for figure2dot
move more functionality to cleanfigure()
bump to 0.4.0
support relative text positioning