Added StackPanel to switch between Property and Flag views of SpawnDef,
completed handling of Flag view of SpawnDef