adding statusBar to simple editor