added helpers for sessions, mostly enabling formatting of date buttons text; bug fixes