Fixed errors, now prints out lots of debug info, incldues left-over comments describing various test runs