many improfements for html visualization