diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -93,20 +93,25 @@
 Otherwise, installation from source is not difficult either:
 
  1. First install the *Haskell platform*, see http://www.haskell.org/platform/
-    for details for your system. Users of Debian or Ubuntu simply run `apt-get
-    install haskell-platform`.
+    for details for your system. Users of Debian or Ubuntu simply run
 
- 2. Install the dependencies. The Haskell platform comes with a tool called
-    `cabal`, and you should run the two commands
+        apt-get install haskell-platform
 
+ 2. Install the development packages for ncurses, i.e.
+
+        apt-get install libncurses5-dev
+
+ 3. Install the Haskell dependencies. The Haskell platform comes with a tool
+    called `cabal`, and you should run the two commands
+
         cabal update
         cabal install --only-dependencies
 
- 3. Now you can build the program using
+ 4. Now you can build the program using
 
         cabal install --bindir=.
 
- 4. At this point, `tttool` should be ready to go. If you run
+ 5. At this point, `tttool` should be ready to go. If you run
 
         ./tttool
 
diff --git a/src/TipToiYaml.hs b/src/TipToiYaml.hs
--- a/src/TipToiYaml.hs
+++ b/src/TipToiYaml.hs
@@ -448,7 +448,8 @@
 
 readTipToiYaml :: FilePath -> IO (TipToiYAML, CodeMap)
 readTipToiYaml inf = do
-    etty <- decodeFileEither inf
+    content <- SBC.readFile inf
+    let etty = decodeEither' content
     tty <- case etty of
         Left e -> print e >> exitFailure
         Right tty -> return tty
diff --git a/tttool.cabal b/tttool.cabal
--- a/tttool.cabal
+++ b/tttool.cabal
@@ -2,7 +2,7 @@
 -- documentation, see http://haskell.org/cabal/users-guide/
 
 name:                tttool
-version:             1.4.0.1
+version:             1.4.0.2
 synopsis:            Working with files for the Tiptoi® pen
 description:         The Ravensburger Tiptoi® pen is programmed via special
                      files. Their file format has been reverse engineered; this
@@ -60,13 +60,12 @@
     template-haskell >= 2.7 && < 2.11,
 
     JuicyPixels == 3.1.*   ||  == 3.2.*,
-    aeson       == 0.7.*   ||  == 0.8.*,
+    aeson       == 0.7.*   ||  == 0.8.*  || == 0.9.*,
     hashable    == 1.2.*,
     haskeline   == 0.7.*,
     mtl         == 2.1.*   ||  == 2.2.*,
     parsec      == 3.1.*,
     process     == 1.1.*   ||  == 1.2.*,
-    process-extras >= 0.2   &&   < 0.4,
     random      >= 1.0      &&   < 1.2,
     vector      == 0.10.*,
     yaml        == 0.8.*
