added a check for content so a test would past that needed to wait for the profile div
updated tfd_engine