tidy up Grunfile, reduce duplication
fire change events when properties are set in magic mode (#439)