Got rid of some tests of adapter.getUIFrame(). that did not check for te
frame being present