changed critical section

win32 critical section
win32%wnd

changed derived type win32
delete unsed line