Fluid 4908: Refactored UIEnhancer with action ants.

@amb26, I wonder if you could review this pull request?