optimize ThumbIndexCache

1. use QMap instead of deque to speed up loading time
2. bug fix: auto login will reset user's kb_guid field empty
bug fix: only run one syncing thread
Merge branch 'modern-skin' into block-sync