WYSIWYG editor including upload, lots of small fixes