Added wait() docs.

Test-files change. Doc improvements. Package upload.