Autorefresh

Hi James,

This fix makes HexEdit to automatically pick up changes in the typelib files. Looks like this feature was implemented at some point but got broken later.

This patch is cleaner than my previous pull request. It's in a feature branch, and it does not include any build compatibility changes.