Clean up the prompt init.

I've also modified the preexec function to always change the title.