Couple of bug fixes
Changed ctrl-c handling and more of the safetyserialout class