Fix issues when no locale is set

gb#704786
Add support for multiple image TIFFs

gb#624044
Fix loading project with more than one page

gb#701453