Removed some debugging code from the custom layout.