Fixed missing assignment with the result of the Paeth filter.
Added support for an alpha channel.
Switched decompression function.
Removed some old code.