Fixes Python3 compatibility

Displays exception in outputMonitor (it was catched so why not using it ?)
Replaces old Exception syntax to new one.
Uses space instead of tabulations.