Add error handling for when torrent caches go down.
Fix a small bug and refine code
Fix the panel visibility bug
Merge remote-tracking branch 'remotes/hexf/master'