Added setup() and teardown() methods. Sub-components should be added in the setup method, which is called after the component is shown/rendered. Sub-components can be destructed in teardown(), which is called after the component is hidden. Events on window can also be added in setup() and removed in teardown().
Merge branch 'master' of github.com:lazd/F