Fix exception when opening views without a long title. Update title on rename