Fix for Debug Menu causing Memory Leak / Inaccurate Graph Updates.

Fixes: https://spoutdev.atlassian.net/browse/SPOUTCRAFT-497

Everything that has a beginning, must have an end.

Signed-off-by: Mike Howe <mike@mcsnetworks.com>