Continuous mode

Code runs continuously, break out with empty input
Print signal being sent to console
Added signal handler for spaces