added wnck to retrieve a list of windows and included some error
handling
Merge branch 'master' of github.com:mikar/blockify
removed some of the need for globals
couple of small style fixes