fix examples; add IPNLog model and IPN_LOG_ENABLED setting