i feel the idea is worth considering but it needs to be thought through. can you put stored variables in different files, or shall it be like in C++? there are pros and cons to that from usability standpoint.
reminded me of the thread: continuations - "extensions on steroids" idea