Fixes #84

Function for checking if the editor is empty.