Merge pull request #757 from nurupo/api-fix-1

Added size functions for names and status messages
Merge pull request #758 from nurupo/api-fix-1

Fixed the size function for self status message
fixed build.
Strings now no longer need to be NULL terminated.
Userstatus function fixes.
Some tox_wait_* improvements