Update main.c

Gui need some work, after pablo chat