startup routine: set the TTY to a well defined state on unexpected exits

this requires some low-level POSIX routines, so it most likely won't
work on Windows. Having said that: who cares?
rename some stray .*IntQuants() methods to .*IntensiveQuantities()

"intQuants" is supposed to only be the name for intensive quantities
in local variables. It should never appear in any API name...