Convert examples to ARC, fix a few more warnings