Removed currentEditor for replayer
removed dead code