Wrap all text in spans like ReactJS does.
Install 'dblclick' handler and fix some layout issues