removed whitespace

improved UI, textfield sanitization, added sqrt function