Moved a few objects to unique_ptr

No spaces at the parenthesis.

Where did you people learn your typesetting?