Added globals_id-initializer; Added a forgotten "break"; Fixed a possible buffer overflow while replacing defines