Fix some warnings, adjust how Com_Print/Com_Error is called