Hatch HRT Beta

1. Some minor tweaks to the HRT code in Hatch.
2. Fixed document metaform hide/show bug (in a document).

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>