made some more changes to the properties array and setting properties

getting properties added fullscreen, editMenus, shadowOffset, systemWindow, layerMode, padding. removed some read only properties paintCompression, size

Changed properties array setter to set rect and style first to ensure they are set before other properties that might change as a result of them.. for example, setting the rect after the gradient changes the gradient. The style seems to change other properties like the textAlign of buttons which possibly needs to be investigated.