Cleaned up unnecessary code from modules, distinguished between raw and non-raw event types, improved thoroughness of DNS-based checks.