Boyd's code

Merged get length functions, removed get string length, and added code for the write string and get length function.
Added #define for text wrapping.