Hi!
Regarding problem number 3.
I did some more searching in the code and found why in Linux the last line is cut off.
it occurs when we use the ";" sign. to break the line in the header
This difference does not happen on Windows OS.

Best regards,
Itamar M. Lins Jr.