Image filtering GUI in Haskell