Added static var in header with header size.
Fixed warnings.