Fix connect dependency, and Gruntfile tweaks.