Added ArrayAccess support to Layout, and a new Layout->isVariableSet(name) method for determining whether you have previously set a variable