minor fixes
use multithreading to cache seperate pages
minor fixes