Improve output formatting with colorless mode.

- Get COLOR value from environment
- Use printf to format cipher table output instead of ANSI sequences
- Properly handle COLOR=1 for all printing functions