Control Panel Command handeling

Now works for everything
Merge pull request #127 from CoenraadS/master

Control Panel Command handeling