Add FrameBuffer#bind/unbind
Make FrameBuffer#unbind() static
Fixed setting previousScrollFocus in Dialog class
Fixed issue with restoring scroll focus in case when dialog creates another dialog
Source code formatted correctly
Added ByteArray.

#changes
#closes 1245
Merge pull request #1243 from xoppa/master

Add FrameBuffer#bind/unbind
Make VertexAttributes implement Iterable
Make inner classes private
Merge pull request #1249 from xoppa/master

Make VertexAttributes implement Iterable
Capture was removed from button table in Dialog
Merge pull request #1244 from OlegTheCat/master

Fixed setting previousScrollFocus in Dialog class
Fixed viewport checks.

closes #1250
Renamed square setting, made packing try to use smallest square size.

#changes