Added check for RPC server availability on startup

Also added code to detect when the user installed the wrong version
(32-bit vs 64-bit) and provide an appropriate error message.