Reverted Back to Latest "Update main.c" from markashworth1.