added enable/disable for control bar
Merge pull request #4 from Bart-Beyers/master

added enable/disable for control bar