Some changes to pumpcontrol, a new checknewday method, and name comment attributes