Split main.c into mainloop and app portions
Some of main.c is focused on the event loop, and belogns in core/mainloop. The rest is much higher level, though.
Some of main.c is focused on the event loop, and belogns in core/mainloop. The rest is much higher level, though.