Fix renaming unsaved files and allow right click rename on each tab