Modified the prompt and added PROMPT_COMMAND to change window names.