FIxes session logic
Merge pull request #314 from angathorion/session-logic-fix

Session now only keeps window size