Added more work to feature resource and fixed problem with unloaded pssnapin.