Destroy components on teardown.

Fixes #64.
Merge pull request #85 from gordonkristan/master

[BUGFIX] Destroy components on teardown.