Update comments

Comments added to code for easier reading, user replay feature is broken
again