Removed redundant output setting logic in plot tool.

Fixed bugs concerning setting of output logic related to drag tool
(removing a model left the output appearing by itself).

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>