Fix: unused variable.
Filter as function.
Fix: PEP8 spaces.
Real session length and max.
Build ES lines from sessions.