Use formal email addr, I will be spammed anyway
Use return in main(), let prog has one exit point