Fixed various textbox issues