Moved genId() to Stretch file in Widgets/Snap
Moved applying transforms to onRenderSetLayout
Refactored to separate reading from DOM and writing to DOM
Added calculated width/height for getting bounding box