Updated signals.
PEP8 fixes and other cleanups.