As far as comments go, I read something recently which made a lot of sense - don't comment the obvious. An example of this in reference to the code samples we're discussing, would be the comment about getting the editor object...too obvious, therefor I wouldn't do it.
I put in most of the comments (got tired of doing it for the last 2 function/commands as you can see) to preserve what was done in the video for other 'starters' if you will.
I resisted the urge mightilly too I might add to rewrite it - some sections are...'not best practice' shall we say. However, I did change the odd thing here and there, with one of the major ones being I declared the palette and paletteset variables as private and static.
Cheers,
Glenn.