final changes as requested: getTristateBoolean in Exception-Version.
Some cleanup