added logic to destroy stage when a drawing with no initial segment has been set