adding ability to disable clearing
simple keyboardinterrupt catching