Cleaned up CWDebug class