Don't allow the doc string tooltip steal focus

Was a problem on Windows XP and Mac OS X
Remove perlin noise helper functions that are no longer used
Mac OS X build fixes and other build fixes
Fix compile and usage problems on Mac OS X

Merge branch 'aselle-fixes'