toolbox.hta code cleanup and gui fine tuning