Made location only display when in debug mode.