261 implement filtering

Fix a bunch of issues with filtering, especially initialization with a new profile, and getting recent sites that were actually visited recently vs. sites that were visited in the past but accessed recently (looking at you, Facebook).