Stripped down to small C utility only for displaying current layout