Fixed bug in text box and added menu class.