ResourceContainer (uncompiled), StateStack assertions, Random TestState stuff added.