Got rid of some of the autorelease pool warnings by creating a temporary pool for each call to toNSString().
Fixed all the NSAutoreleasePool issues on Mac OS X 10.6.