Removed unused and commented out code.  updated retries to be more pleas...

...ing to the palette.