Fixed warnings.
Started working toward arc-compatible code
removed synthesize statements
removed backwards compatibility; code modified for iOS 7.