Use some NSLog calls instead of printf
Specify the encoding of modeOption and filepath
xCode stuff!
Switch to ARC
Allow the binary to run on 10.8, but only 64bit.