Got rid of return 0 in some mains.