Made htmlform thread safe!