+ Add primary support for CLI.
+ Static entries.
+ Added variable to hold return values of fread and system, we should
	actually use that return value to display an error if there was one.
+ Redo Preferences dialog.
+ Clean up the code and indent it properly.
+ history structure has to be changed in: main.c, manage.c, history.c
