Activity on date range

This changes some pretty big functionality, please fine-toothed comb and make sure I'm not being dumb with anything I took out.