Bugfixes for restoring selected state.
Bugfixes for restoring selected state.

HasClass0/greasemonkey,Ventero/greasemonkey,the8472/greasemonkey,HasClass0/greasemonkey,Martii/greasemonkey,Martii/greasemonkey,Ventero/greasemonkey,the8472/greasemonkey