Rearranged parserCtx initialization
Remove some redundant debugWait calls in parser.c
Error if non-natural array size given
Changed a bunch of type field accesses to typeGetXXX calls