Add OnTextChanged event to TextEdit, minor other stuff
Warning fixes