Less perl
Fixed sh script syntax highlighting in vim
Use dash shebang in bin/termctrl
Small refactorings