It LOOKS ok, but try it with
string (header_str); and string (maingame_str);
instead of the "string =" format.

And maybe change your sys_exit to be sys_exit("");


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial