change init methods to new style
clang doesn't require these methods to be declared now
macro for logging errors and swap out CWLogErrorInfo()
dont access vars directly
replace CWLogError()