Two things:

More variable renaming
Spilt Patch Checking, Modern Patch Reading and Installation into three
seperare functions