Clean up some warnings

I've fixed some simple issues Xcode complained about. Please merge them. Thanks!