Some preliminary support for 32 bit and windows.
Added key export / import