Fix DLL injection bitness mismatch

This patch adds more error handling to prevent lockups of IE if the DLL injection fails.

It also adds code to determine the bitness of the IE frame process directly instead of guessing based on windows version. This should resolve issue #8 and other configurations where the IE frame process is 64 bit but we tried to inject the 32 bit DLL.