First working version using textpad.Textbox
Needs code clean up.
Code cleanup
Fixed static vs instance variables