add console viewer ; fix interpretation of ctREG
enable console viewer with switch