use session variables, in the cookie, for filter states
WIP cleaning up sorting
finish cleaning up session resets