working on save cache background thread problem
I think the threading issues might work
Merge pull request #1 from rsarwas/master

Fixed (I think) the threading issues