if ![package vsatisfies [package provide Tcl] 8.4] return
package ifneeded resize 0.1 [list source [file join $dir resize.tcl]]
package ifneeded ThreadedResize 0.1 [list source [file join $dir ThreadedResize.tcl]]