Fix save bug

Semantic error in tabbed_editor.py and infinite loop in html_editor <->
editor.