Error fixed. I commented some code out because I wanted to make sure it worked.

Next step, cleaning out the code more. I pushing more, in case I mess
up. So that I can roll back.