Made image scaling configurable (and keyed). Redame & comments updates.