Html export fleshed out but un-tested. Need to handle on UI