Clean up tools window event handlers for resizing