this adds a debug indication and versioning display. Fixes #1844 and #2033