added sequence operators, improved debug operator, handled KeyboardInterrupt