more cleanup
cleanup in platform.c, including somewhat fixes of prblems involving PATH_MAX
more cleanups, some possibly substantive for picky compiler
fix radix sort bug as in R-2.15.2
more cleanup from clang static analysis
bug fix with using tmp after freeing it