Fixed two bugs
proper_atoi now checks for integer overflow, I previously thought it was unimportant
the sed module is now properly invoked