improve c_popup_err_msg we can now write error like printf with an ellipsis