Fix code style and add more comments.
Fix wrong type of key code.
Fix SRReadableString* may return SPACE instead of Space.
Properly handle shift mask in SRKeyEquivalent* transformers.