More code overview and fixes.
Get rid of improper casts to WindowPtr when using DialogPtr.
Other changes and improvements.
Blanking out MegaPurge:
The function seemed to clear all unused RAM allocated to PlayerPRO. Considering this may cause problems for OS X, removing.