Eliminate compiler warnings regarding using pointers for BOOL, setting NSInteger to nil, using UUID. Also removed unused declarations and a little white space cleanup.
asdf