Properly get rid of the dependency on Cairo internals.

Use renderCairo instead of mainRender.
New version again (sigh)