Cleaned up "sitemonitor.py" so that it conforms with some PEP 8 rules

I only addressed the errors that would not change the code all that
much. There are still these PEP 8 errors:

E128: continuation line under-indented for visual indent
E401: multiple imports on one line
E501: line too long (> 79 characters)