adding version variable
fixed CTRL-C signal callback
fixing a bug in the string read (and removing UTF8)