set( "classlib" )
right before going into the SF Query code to make sure your classlib is still in there at that time? I'd be a bit suprised if Doug's code was not using additive everywhere, but bugs happen *g*.set( "classlib" )
to see if your classlib is in the path. If it's not add it back at button.click() time.