Moved FXUtils to the ui package because it fits better there.