You could get a lot of help by merging your extension with the excellent chrome extension. Its open source. http://hoverzoom.googlecode.com/svn/src/trunk/modules/ http://hoverzoom.googlecode.com/svn/src/
I would love to see some of the features in this extension in your extension too.