Made image scale to widget
Added pipe counter