Reduction of default thread stack size, taking control over stack allocation

Signed-off-by: Frank Mertens <frank@cyblogic.de>