Updated deflater. Fixed more bugs and flows. Some memory improv