remove explicit memory management

Change-Id: Id9b02dcb65d21bcdef398188d739a56b11f63d21
make the assignment a bit more obvious

We prefer readable code.

Change-Id: I8212c0a40354b2fd1d6e56c1223c3b558104f505
reduce scope of many variables

Change-Id: Id401a0414f650fb2ee14d895d261f9e38cd104b0
reduce scope for more variables

many more to go

Change-Id: Ia941638ef31138af132b142f0e960f7959b18dda
make these variables const, they are just loop boundaries

Change-Id: I66c67c424c43515043e4119ea6bfad0d7f31ccb1
reduce scope for more variables

Change-Id: I4b92f186bd315ced47973ea142d7e3ad8defa328
more stylistic cleanup

Change-Id: Ia7aea86d0bf787b851a5ecbae5b697436e1192e5
reduce scope

Change-Id: I7e296a0983a1d4e3a7501333cfd3cdf7c561383c
more scope reduction

Change-Id: Ibfe4b4b5f9033aa0f29cf761b3a674e8c3c5f3d2
more scope reduction

Change-Id: I5eb438ae70330990a58bc103406a0c434e53ca3f
prefer a Scoped[Read|Write}Access

Change-Id: I8ddad720685f3cbcc330b9d1f61fcf833a3d2472