Implement a TextBox derivative that only allows either hex number or regular integers within it. It also automatically sets text to "0" if left blank, so as to make it a valid number in the byte corruption settings.