Rearrange modules enable/disable code. now the main function is inside ModulesHandle class
Improve modules handle in order to be compatible with new windows
Set default pel format
Merge branch 'dev_modules_api' into jc-dev
Change some variable name to follow current variable name
Minor bug fix and code arrangement
Update side bar when changing  visibility