Stack protection refactored into a separate procedure named ProtectStack. Refs: #25. Comments and a named constant added for access to the thread information block. WinApi constants used for protection flags rather than hard-coded constants.
Signed-off-by: Josef Templ <josef.templ@gmail.com>