Properly delete arrays.
Added missing method chaining to framebuffer configuration functions.
Introductory documentation about method chaining.