Removed the duplicate code.
Improved text so instead of being random and useless, it is useful.
Replaced the random text with something that is actually useful.
Replaced the random text with something that is actually useful.
Added comments explaining how the code works.
Added comments.

Did some other misc. cleanup.