added states for saving. Can now only save when editing previously existing notes. Otherwise will add as new.
notes feature now complains if the title is absent