Turned inputs into content-editable, cleaned up the parent mess a bit