Added some minor fixes to numerictextbox and eventbinding