Clean up

Based on code review from Glenn at:
http://codereview.stackexchange.com/questions/42159/text-snippet-creator
-manager-in-bash