Added okular stubs, improved logging, fixed bitdepth combining.