Fixed memory leak in simulator (oops).
Added a few more error return codes.
Scene now calls the setup function.

1. Doesn't check the returned table... yet.
2. Does check that execute is set.
Combined two error codes into a generic one.