added recorder to window.cpp