Thank you for the explanation. > I've committed patches to fix the porblem (see [ruby-svs:35321]). > Please try it. In trunk with a straight "require 'tk'" the error output is gone, and though the "mystery window" appears still in the background, exiting works correctly now. (1.9.3 with tk8.5) Thanks. -rp