Issue #232

Code improvements
Several code updates to fix issues
Merge pull request #262 from FWAJL/dev

dev to feature_active_checkboxes