better output and Ctrl+C handling