Add support for accessing IOSurfaces
Fix -Wsemicolon-before-method-body
Mark unused parameters to silence -Wunused-parameter
Fix -Wmismatched-parameter-types
Replace deprecated calls since we target OSX ≥ 10.8
Fix -Wsign-compare
Fix -Wincompatible-pointer-types