ItemFrame tests, debug fixes