House-keeping

This pull request adds .DS_Store to the .gitignore and cleans up several bits of code in utils.