code cleaning
ability to lock formatting menu (to be always visible)
handling destroy