Exits process on 'c' keypress.