globalLock ratio

["globalLock"]["ratio"] no longer exists. replaced with lockTime devided by totalTime
KeyError: 'btree'

remove btree
Merge remote-tracking branch 'ryanooi/patch-1'
Merge remote-tracking branch 'ryanooi/patch-2'