Thickbox ‘tb_unload’ function being called twice

A very basic fix would be to use one() instead of bind(). But why the function is called twice is still open. Ask your browser’s JavaScript inspector.