Fixing some of the comments to comply with the standard format.
Removed all calls to viewSize, replaced with viewGet(vw,'Size')