Minor tweaks

Added return values
Updated a few minor left over variables
Merge branch 'master' of https://github.com/edgleyUK/bashlib