some error fixing and edited textBox

added class protoypes in header files
added textStyle enum for textbox, and seperated "fit()" from textbox
into fitBox and styleText