Made different TERM types really working.
Merge branch 'master' of https://github.com/FritsHoogland/tools

Branching because the contents on github changed.