removed error logging
standardized hover and selected styles to all editable elements
fixed typo in log message
escaping strings properly before saving to database