layout and debug info displaying enhancement