Don't use Curses to look for console width in IDESlave + properly serialize and deserialize the new with-expressions  from IBCs

Now, setting automatic width in IDESlave mode is equivalent to setting
infinite width.

Also, this PR removes an "incomplete pattern match" error from IBC.hs.