added width and height properties to displayObject

Also anded render back into text example