Some UniquePtr cleanups

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>