fix #20 : change lazy RenderItem compression

(now done when adding new item instead of per-frame)
refactor related code