Fix deprecated and string formatting warnings

Hi Lars,

Thanks for sharing the plugin, really useful.  This pull request fixes some string formatting warnings. See https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html