toUint() now supports numbers larger than 31 bits.
Next-state is a useful function to have.
Merge branch 'master' of https://github.com/cdkersey/chdl