cleanup warnings a bit

gets rid of a few Xcode compiler warnings, including two "deprecated" ones and a "hey, CFStringRef needs a `%@` format instead of a `%s` format" warning.

Hope this helps!