Rename ShowWindow as it is used by the Windows API

Slightly better error reporting from C++ would be nice.

Fixes #11.