Bash: Some cleanup on my bash functions

Started to add tags to the functions so I can see at a glance which ones
are intended to be used as commands and which ones are only supporting
other functions; also which ones could be turned into scripts and which
ones MUST be functions.