I have the same problem, but with folders that are about 50-100,000 photos in size.
I had a folder of 100k and it would take a long time to even show any photos, scrolling down the list was also very slow, when i split them into folders of 10,000 then they loaded a fair bit quicker.
However the initial scanning phase of Tonfotos each time i run it always seems to take ages and the app often freezes while do this if i have a large library selected, even after all the photos have now been scanned/analysed.
Clicking between the tabs (Folders/Map/People) etc always seems to take ages and trying to scroll down the photo list of large folder is very slow/freezing too.
(PC with Intel® Core™ i7-4790K CPU @ 4.00GHz, 4001 Mhz, 4 Core(s), 8 Logical Processor(s) and 16GB of RAM)