Fixed some bugs; added Min&Max for NumericUpDown