Early fix for issue #11

Added hash code to represent the saved editor state to prevent useless
save dialog on "New" file. Further, setSavedState() currently might not
be used consequently.