Sundry changes to make it work

- Got rid of logging, issuing print statements.
- Fixed a number of bugs
- Still no docs, or tests