Fixed palette progress indicator. Also, small changes to palette generation to increase overall speed.