Fixed a few errant bugs relating to IE incompatibility - saves are now encoded into ascii85 in local storage. Fixed potential issues with buying multiple things in a frame by disabling buttons until next frame of use (should not affect anything). Added sharing. Probably made way too many changes than I should do per commit.