Added select() to fix the 100% cpu issue. Fixes #1
Merge branch 'master' of github.com:Berulacks/10ftwm