czlib fix, removed zlib header and adler32 footer
added !scale-width and !scale-height
delayed resize layout call
trying to improve rendering speed