Major improvements to Gruntfile.