Fixed the logging so that _debug is now respected. Also added in some ad events.