Too much code was being shared between the extended command window and the popup dialogs for player selection, causing an uninitialized variable to be referenced, often resulting in a core dump.