Added NULL to nil convert macro
Change calculate label size methods