getUIhtml should work now.  it hasnot been explicitly tested though
removed a line of debug code