Improve check for empty rich text editor.
Improve entry edit permission check by also checking group and other edit permissions on own entries.