Fixed 32767 bug (dumb omission in my testing calls), kept couts in
methods for testing.