Py3

I had to make these changes to get pdbfixer to work with python 3. I also removed unnecessary imports from ui.py