diff --git a/Display.hs b/Display.hs
--- a/Display.hs
+++ b/Display.hs
@@ -87,7 +87,7 @@
 	(x, r) = break colorSep s
 
 errMsg :: String -> IO ()
-errMsg m = putStr displayResetColor >> hPutStrLn stderr m
+errMsg m = hPutStrLn stderr (displayResetColor ++ m)
 
 output :: TermColor -> String -> IO ()
 output c m = putStrLn (displayColor (colorReset ++ c) ++ m)
diff --git a/TailHandle.hs b/TailHandle.hs
--- a/TailHandle.hs
+++ b/TailHandle.hs
@@ -8,7 +8,7 @@
 import System.Posix.Files
 import System.Posix.IO
 import System.IO.Error
-import qualified Data.Maybe
+import Data.Maybe (fromJust)
 import GHC.IO.Handle (SeekMode(AbsoluteSeek))
 import Control.Concurrent
 import qualified Control.Exception
@@ -68,7 +68,7 @@
   }
 #ifdef INOTIFY
   where
-    rm_watch = INotify.removeWatch (Data.Maybe.fromJust (trINotify (thRuntime th)))
+    rm_watch = INotify.removeWatch
 #endif
 
 seekTail :: FileOffset -> TailHandle -> IO TailHandle
diff --git a/ztail.cabal b/ztail.cabal
--- a/ztail.cabal
+++ b/ztail.cabal
@@ -1,5 +1,5 @@
 Name:		ztail
-Version:	1.0.1
+Version:	1.0.2
 Author:		Dylan Simon
 Maintainer:     dylan@dylex.net
 License:        BSD3
@@ -8,16 +8,21 @@
 Category:	System,Console
 Build-Type:	Simple
 Cabal-Version:	>= 1.6
-tested-with:    GHC == 6.8.2, GHC == 6.10.1
+tested-with:    GHC == 6.12.3
 extra-source-files: README
 
+Source-Repository head
+    Type:	darcs
+    Location:	http://dylex.net/src/ztail
+
 Flag INotify
     Description:	Enable inotify support
+    Default:		True
 
 Executable ztail
     Main-is:		Main.hs
     Other-Modules:	Util, Display, TailTypes, TailHandle, Tail
     Build-Depends:	base == 4.*, regex-compat, unix, time, old-locale, process, array
     if flag(inotify)
-        Build-Depends:	hinotify
+        Build-Depends:	hinotify == 0.3.2
         CPP-Options:	-DINOTIFY
