Merge pull request #19 from maqifrnswa/master

update line endings for all files with CRLF (part 3)
link "dl" library if needed
fix #20 : change lazy RenderItem compression

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