fixed  the mem leaks in the partviewer, reset function seems to actually work correctly...  I missed another leak that I was not accounting for.