updates from static analysis tool (cppcheck)
fix panel controls enabled with list control selection
Merge branch 'updates'
Merge pull request #114 from siena123/master

sync panel controls enabled with list control selection & updates from static analysis tool