Split core and UI of the selection model inspector.