Make ForegroundFilter more resolution ambivalent.
Split out some common image stuff into ImageUtils.py.
Refactored for readability/modularity (serialized Images)
Tweaks for performance (pause calibration when invisible)