fix some threading issues in set-language-level!

also, minor rackety