rename edit window functions and variables