Fixed some issues with the code editor and removed some GHM debugging.