cleaned up the screenshot procedure a little.
This does NOT fix the segfaults or invalid pointer operations that occur in there for me if I resize the window and then screenshot (does not always happen. usually in FreeMem() after the successful save though!
{-# LANGUAGE OverloadedStrings #-}
module Consts where
import qualified Data.ByteString.Char8 as B
serverVersion :: B.ByteString
serverVersion = "0"