Replaced auto-hide with debug checkbox, fixes #25