added last month, cleanups, fixed first of month bug