Code cleanup's add some locking fix mem leaks
Add runcallback private method to dtspanel event class that passes and unrefs data
Some cleanups / locking in pannel classes