Remove regions.
Add support for "Thread" type in macros. Add support for nested static macros.
Update to version 4.0.0.2. Minor cleanup/formatting.