Additionally, most state was kept in global variables which were modified all over the place, leading to unexpected results on nearly every code modification.
A significant portion of the data was kept in global variables that underwent numerous changes, resulting in unexpected effects with each subsequent code revision.