Implements stdout toggle for log object.
Improves dynamic resizing of vertex arrays.