split up wrap text function, improved variable names
more clean up, added setText to textbox