Added detection of color-supporting term
Fixed numerous comparison errors

- Fixes #74
- Fixes #75
- Fixes #75
Merge branch 'develop' into develop.macosx