Use new ui-lib functions, delete obsolete eazel and caldera-specific code