If a dos library printf format string does not include a length, and is formatting a number, it would error.  This fixes that.
Terminal detection would error on non-posix operating systems
Various C programs require that an executing process find the stack size in D2, as well as the already handled 4(SP).  This is provided in at least 1.2 -> 3.1 (confirmed by myself).  Program in this case was 'main' from Pools of Radiance.