Streamer backend bugfix and style
- Reversed operator order for the python contains() operator (b in a)
- Added try-catch block for after_action()
- More PEP8 style