Improved on how procedure labels are generated, but there's still a rare memory corruption bug occuring. Committing for further debugging purposes.