- Properly initialize DIB structure arrays. - Change use of snprintf to strlcpy to carefully avoid potential buffer overflow warnings.