refined thread handling
	especially in respect of external stack assignment