Added a 'where' argument to render, to allow for replacing, appending
or inserting before existing content at container.
Fixed a bug in the destructor.