added zlib
moar stuff
resolved some warnings