Fixing typos in control/panel

Found a few distracting typos in control/panel.js.
Did a quick search of surrounding code to make sure no others.