Fixed project file, MHTagsView was not added properly.
Use %lu to avoid warnings when compiling for 64bit.
Use NSLog instead of printf.
Removed dead code.
Fixed static analysis warnings (potential leaks).