Resize editor on clear.

fixes #100