Pawitp's: Optimize MFC memory usage, properly