quit and exit fixed but SystemExit would be even better

Only print if result is not none and don't nag about empty line