button memory leak fix and serialization provided for the win32manifest.