main.js change to use geometry to get width height of screen available.
maketb.js change to new template of tb.html
tablebuilder.js ResizeTable add parameter borderWidth to fix border width after restore.