Fixed warnings and added checkerboard pattern.