Misc improvements

* use "command -v" instead of "-x `which … 2>/dev/null`"
* fix quoting in the prompt extension
* guard lines - make it easier to detect modifications
* 5% more cowbell