I've had several requests for the code for the PreviewHandlerAssociationEditor tool I put up a few weeks back to accompany my MSDN Magazine article on preview handlers.  I've updated the download to include the source for the project.  Enjoy!