create print method to replace console.log
Most errors ironed out. I think.
Too slow to actually determine if it will solve it.