Added windowProc.