added delete statement on resouceviewer after a tab is closed
Merge pull request #173 from blackhydrogen/configurator

Improved memory management on resource viewers