Made xmonad.hs generic, fixed languages bug