Lots of things

* Replace tabs with spaces
* Replace all errors with flashes
* Made operations that get a count more efficient
Merge pull request #9 from belak/master

Lots of things