Updating mainchatwindow.py for pickle changes