Posted the main stuff, and trying to figure out how I managed to screw up the code. Aaaaand finished.