Original commit message from CVS: another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so that I don't spend double the time resolving conflicts
Original commit message from CVS: should work with avifile too some cleanup ( video/png, ... )
Original commit message from CVS: putting in apoc's png encoder, needs some cleanup