Fixed tab name transferring on close
Began work on fixing closing empty tabs
If note has been changed and not saved, when the tab is closed the user
will be prompted to save
Added visual changed indicator. Needs implementation.