Move guts of the record viewer into the pysdr package.
Fix not exiting on SIGINT.