add "source dialog" to ckeditor + misc cleanup