Added synchronisation between Box objects when set_dimensions called. Added an event queue to PMD for this purpose.