small corrections to gruntfile
lots and lots of comments, and a tiny bit of clearing up code