http://malektips.com/putty-prevent-remote-changing-title.html#.U_SDEWPnGhI
I figured it out myself. The tip in the above link helps.
excerpt from that URL
Via escape sequences, some remote computers have the ability to change
the titles of client windows of applications such as PuTTY. Examples
include a logon script that changes the PuTTY window title to the
user's login name, or a shell prompt that continually changes PuTTY's
window title to contain the name of the current remote client
directory.
While sometimes these window title changes are desired, in other
situations you would rather define a window title and have it stick
without worrying about having it changed by the remote system. Thus
you can lock the window title:
- Open PuTTY.
- Click on the "Session" link in the left pane.
- In the right pane, click "Default Settings", or a defined session, then the "Load" button.
- Expand the "Terminal" tree in the left pane.
- Click the "Features" link in the left pane.
In the right pane, check "Disable remote-controlled window title changing".

Click on the "Session" link in the left pane.
- Choose the session name you chose in #3, or "Default Settings".
- Click the "Save" button.
Note that if you change the default settings, you will still need to
change the settings for each saved session.
Return to the Putty page.