added command block safety, two-color test, and best compression.