Unused includes removed.
Modifed include for new name of delay process (old : delayer_process | new : delay_process).
More rigourous way of programming. No need to free the memory as at the first fail from this file the programme stops & return value corrected.