- Fixed fatal error in Windows.
- Fixed fatal resource leak in Windows(required recompile).