More code documentation.
Make fork mergable with upstream tnwince repo.