GPUCommon iterator cleanup

Second pull request, this time with removed commits and one small change. As always, please report back if you see an typos or glaring errors.