Textbox improvement

Added support for textbox background color and border, .autoSize()
method, and .setMargins() which works with CSS parameter rules.
Fixed error where buffer canvas was not writing to rendering canvas.