Fixed XSynchronize and XSetAfterFunction definitions
Minor style changes
Merge pull request #15 from badlink/master

Fixed XSynchronize and XSetAfterFunction definitions