Fixing errors I am encountering as I go along

So far:

- setup.py was missing a required module
- error messages had an error in them, not allowing me to see the actual error