You might like to go down the Common Extensibility Platform path. CEP looks like the way forward on Adobe's roadmap.
I found the below link the best intro to this. I am about 4 days into this and got my first plugin working.
It is a bit of a hike to get there...
Thank you for the information. I was hoping it was possible with a script, but I quess that's not possible then.
1. You can write a panel by "just" using a script.
2. But the CEP way of doing this is soooo much easier. As you can use HTML5 and therefore use your fav editor to do this.