Added ads (igh), fixed minor performance issues.