beremiz

Fix bug introduced in previous commit : dual link list wasn't append and remove wasn't implemented correctly. Removed debug code, enhanced variable names and comments.
#State Text Reference;;;;;;;
#Reference Number;Text 1;Text 2;Text 3;Text 4;Text 5;...;Text n