Fix bugs in key sharing
Fix bug in registration display in webkit browsers