If the War-bell is rung to call all of the workers into the central keep, they should enter that central building instead of just hanging out in the courtyard. Its difficult to move units within the courtyard with so many civilians in there.

Also, Dwarven Miners don't respond to the war-bell at all. They keep working while the normal civilians run to the keep.