fix compiler warnings

fixes compiler warnings about a mismatched format specifier for NSInteger, and warnings about potential leaks with performSelector

fixes #2 
cool!