Fixes to editor to properly handle refresh events. Fixed CSS to handle uploads embedded in forms.