Ported the first example from the original windows code, this version (no functions,) had some serious bugs.  There is a suggestion that this has never worked correctly as the order of some steps was not correct.
