comment out unused code. make thread cleanups
basically untimed.