Use ten90 prefix.  Moving functions over: only error is no main :)