Bugfixes, minor reordering of code. Added TwineQuest.isNumber()


Change-Id: Ibbbe552bd2f722d345f37025a6fb937055556047
Signed-off-by: Stormrose <eturnerx@gmail.com>