Improved statistics option
Cleaned up options functions.
Moved Ncurses interface functions to their own files.
Added some error checking on the fread calls.
Changed std=c99 to std=gnu99 to remove warnings with popen (maybe a bad idea).
Added function prototypes and some comments.
Included ui.h header.