ps_monitor: catch SIGINT to perform cleanup before exiting application.
Ctrl+C (aka interrupt) now causes ps_monitor
to exit cleanly instead of terminating in the middle of a the power supply transmission.
Also the channel name is saved under the Channel
tag.
Motivation for this is outlined in #53 (closed).
Edited by Karol Krizka