diff --git a/CHANGELOG b/CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,10 @@
+2014.07.23.
+---------------------------------------------
+Updated to compile with newer version of
+GLFW.
+Thanks Brian and oakwhiz.
+
+
 2010.10.20.
 ---------------------------------------------
 Float vs GLfloat problem fixed
diff --git a/Main.hs b/Main.hs
--- a/Main.hs
+++ b/Main.hs
@@ -264,8 +264,8 @@
   -- exit if window closed or Esc pressed
   esc <- GLFW.getKey GLFW.ESC
   q <- GLFW.getKey 'Q'
-  open <- get $ GLFW.windowParam GLFW.Opened
-  if open == 1 && esc /= GLFW.Press && q /= GLFW.Press
+  open <- GLFW.getParam GLFW.Opened
+  if open && esc /= GLFW.Press && q /= GLFW.Press
     then loop newState stuff now
     else return ()
 
diff --git a/bloxorz.cabal b/bloxorz.cabal
--- a/bloxorz.cabal
+++ b/bloxorz.cabal
@@ -1,19 +1,18 @@
 Name:                bloxorz
-Version:             0.1.1
-Synopsis:	     OpenGL Logic Game
+Version:             0.1.2
+Synopsis:            OpenGL Logic Game
 Description:	     Roll the block on the board to the end hole.
 License:             GPL
 Author:              Viktor Devecseri
-Maintainer:	     Viktor Devecseri <devi86@gmail.com>
+Maintainer:          Viktor Devecseri <devi86@gmail.com>
 Category:            Game
 Build-Type:          Simple
 Cabal-Version:       >= 1.2
-Tested-with:         GHC==6.12.1
+Tested-with:         GHC==7.4.1
 Extra-Source-Files:  README, CHANGELOG, TODO, makefile, Paths_bloxorz.hs.1
-Data-Files:	     data/bg.tga, data/cube.tga, data/floor.tga
+Data-Files:          data/bg.tga, data/cube.tga, data/floor.tga
 
 Executable bloxorz
-  Executable:          bloxorz
   Main-is:             Main.hs
   Build-Depends:       base >= 3 && < 5, OpenGL >= 2.3, GLFW
   Other-Modules:       Cubezor, Etc, Maps, Quaternion
