Doors now remember their last command and retry if they fail

This should prevent docking ports from requiring manual intervention if someone stands in the way of a door.