Removed extra newline
Bugfix. Use right key for mapping
Removed unused imports
Bugfix. Fixed typo and add missing import
Use correct error
Fixed typo in docstring
Bugfix. Add missing self param
Bugfix. Corrected use of is_stopped