Click capture bug fixes and improvements
Remove unused variable in HTMLArchiver