Bugfixes + change self.key to self.session_name (since the latter makes more
sense IMO)
Shut up linter, you're making me feel bad about my code.