LOL! More seriously though, are there any other errors you think need fixing?
Again, everything besides the big block where I had to indent the lines further, was typed in its particular way because it was already like that in the original example, as pointed out earlier. I am not sure if there is just something else I am missing, but if there was I would think the compiler would point it out to me.
And again, it's just weird that the procedure declarations are an error now as pointed out earlier, even though they worked perfectly exactly as they were, as I never modified those particular lines of code, ever.