Fixes so will compile on xCode 5 and can code sign, also changed how gets nib to try and fix the crash randoms have been getting