Quiet warnings and misc cleanup [0]
Resolve PEATE vs. CLASS RGB problems [1540]
Remove some debug, convert sysouts to error logging [1540]
Fix almost all PEP257 warnings for background.py.

[1780]