Registry fix + version and folder fix

Patched registry so it'll hopefully work on x64 systems.
Made folders and files created in Cache.cs and Program.cs rely on the
registry for location.