fixed a couple of Python 3 compatibility issues, new p3req.txt requirements file