Fixed a bug where nullifying the text content of an element (i.e. switching it to a container element) could cause a null pointer exception
More SIML system work in progress stuff