changed stats filter logic
added better stats url regexps and view logic and queries