Make editor show edits using "changed" signal

This change demonstrates the use of signals on the text buffer object,
modifying the window title when unsaved changes exist.