Moved iotools.clear_terminal() onto IOManager.