Make resize work more consistently

From now on shellex always grows as requested and shrinks if the space
is not needed anymore. There is some considerable flickering (by
multiple codepath competetively trying to resize), but it works for now.

This closes #2