added some debugging macros
added object and boolean printing debug macros
added standard float threshold function and CGFloat version