Fixing #1195 fallout.

Fixed key handling when in edit mode.
Fixed character count when we have HTML entities.
Added closing tag for our <ul> elements.  This fixes the link issue at
the bottom.