added breaking on ctrl+c and other fun stuff