copy iframe resource bytes to make the getter and setter functions more secure
several local dead variable stores
more efficient Integer.valueOf instead of "new Integer()" [findbugs]