(c runtime) Fix a bug with loops number count type
(c runtime) Refactoring
(c runtime) Delete useless display flag
(c runtime) Add new argument: -f

Used to set number of frames to display before closing application
(c runtime) Code refactoring