panel.js: Version-dependently generate "Active State" accordion - below 1.4 it goes into the global tab, and afterwards it goes into the swatch tab.
app.js: Make UI element checking have a definite order.