#define TSTKSIZE 65536
Increase it as high as you like. :)
Does it make sense to resize it on the fly when we discover we've overflowed the stack? Or are there potentially continuation pointers into the stack that would be non-trivial to track down?
-----