Added layout console debugging.