done notifies when animtation is done

The done method sets up some code to be called when all queued animation is finished.

fd 100
done ->
  write 'done'
bk 100

done differs from plan because it does not execute in a fixed sequence: it triggers when animation queues are completely empty.