Fixes bug 25028. Added new dirty flag so that resolutions can be purged. checked in VC5 fix from pollmann and jband checked in fix from [email protected] for VMS. r= valeski, pollmann, colin@theblakes