Several improvements

Warning when closing tabs with unsaved changes
More reliable navigating to positions within files