No longer crashes on exit if there are no profiles.

Shows the current profile in the window title.