Compression now works, internal cleanup

The compression like this in fpdf nor works and some Error messages are added to avoid problems that's often made by me in fpdf.

I work on some other changes, but I think the compression problem is a major thing to made this library usable.