Cleared out most debug actions; updated comments

TODO: add more comments