Fix for smart marker when exiting root, added experimental waitForYum() function