Additions from page 1 of thread 47.
Additions from page 2 of thread 47.
Additions from page 2 and 3 of thread 47.
Merged thread-additions with gh-pages.