fixed CKEditor formTabs integration
fixed some code style and events