util.topMost function failing
When an element of the given 'pile' to test is undefined, the accessing the element's property fails (of course.)
When an element of the given 'pile' to test is undefined, the accessing the element's property fails (of course.)