Added activate callback option; Added check for unique panel ID; Fixed bug in addTab function that was carried over from unrelated project
Added demo.html