use the new error texts + fix invalid free when in PERFORMANCE_INFO mode