Added wrap checkbox to settings.
Added ability to wrap editor.