Safe unicode for portal messages.
Added ajax mode for object_restore and object_trash scripts.