itoa improvements, and more cleanups