Fixed an issue where changes to _G were persistent across reboots

Simple fix really. Just redefine the api table entirely on every
Emulator:start()