Added image and changed exit behaviors to dispose.