Output debug info only in debug mode
Use transparency from color name. Fixes #852