Updated "Rainbow Smoke" palettes and algorithms to produce better-looking results.
Made changes suggested by Craig to make the check for input during animations more robust, and to skip animated gifs that start with a tilde or underscore.