I agree with *ahem* cumbob that the real time aspect is impossible to handle since the bots are always faster than you are.
Being able to queue action during door breaches are the pretty obvious and immediate solution, though obviously there are different solutions.