Adds date ranges to list of filters for user control.
Removes unnecessary js.
Formatting tweaks.
MArgin tweaks.
Major consolidation of filtering code.