Pass IOError on refresh.

Print function call raise IOError on refresh while screen resize.
Except and pass it as the screen will be refreshed again in a second.
Pass when get next item from MongoDB fails.
Fix explain action.
Expect IOError while waiting for input.
Update version to 2.4.