Integrate an improved spinner (windows compatible)

from isaacs/char-spinner#5
also partially fix #5340