Fixing some stuff

Now currentNumber works!
Also, entering non-ints won't break everything!
Now with... fewer global variables! Hooray!
Things are slightly more in comprehendible order now, too.