Tremendous improvement in prime number generation.  The memory corruption was defeated and major code refactoring with greater use of pointers was implemented.