deal with preview properly, html checkbox, be accepting of non bool values for html and static

--HG--
branch : noink
working preview functionality

--HG--
branch : noink