Made Bash Completion And Error

Made some basic bash completion routines, and added error messages. 
Please review changes.