Fixed the way classes override the __str__ method.
Added minor debug capability to client.py and testing for monitor.py.