Fixed a static analyzer warning.
Cleaned up pointer syntax for clarity.
Removed some unused #import statements.
Fixed some static analyzer warnings.
Fixed an iOS text drawing issue. Fixed issue 516.
Fixed recursive rendering of hidden layers. Fixed issue 511.