Improve code segment settings UI.

Settings now drop out of a cute little menu.