Cleanup interp.c and remove sprintf