Fix major oops, where main always returned 1.