ShowDebug, minor change to extension methods, clean up