Change naming of fields in structures.

Events and thread waiter field names shortened for code readability.
Merge pull request #9 from fcbotelho/fixstyle

Change naming of fields in structures.