Removed all unnecessary stuff

Final edition of code for this project. Got rid of irrelevant comments
and dead code. Doing this also fixed the bug where the “ok glass” menu
didn’t work after viewing a procedure.