Update window title on profile name edit

Closes #279