Question about Sharepoint 2010

Ok – so I don’t normally use my blog as a platform to ask questions, but I got stuck tonight and want to see if the internet can help. I am trying to add a custom tool pane option in Sharepoint 2010. I have created a copy of of the Content Query Web Part and need to add a custom tool pane options (and then reference them in xsl) Anyone have any resources you could point me to..or any one with a deep understanding of this who would you like to earn some consulting cash helping us out for a couple of hours tomorrow?

Help me internet. Thanks.