Clean up unused code.
Fix possible NULL pointer deference.
Bump version to 1.0.0.3
Add `IsModuleLoaded2` in psvince.iss.