Make use of active element so traversal will resume correctly when clicking into unmanaged dom elements. Made unmanaged dom elements respect maskFocus for their ancestors. Overall cleanup of traversal code.