Update glhck and introduce some new functions
Merge pull request #2 from Cloudef/master

Update glhck and introduce some new functions