Added call stacks to allow recursion; changed the editor a bit