Removed/fixed code causing compiler warnings.

Warnings about unused variables and missing override.
Changed SimpleSelector constructor so no inherited classes accidentally would get _code="*"

The missing override caused some subclasses of SimpleSelector to generate the code "*".
The changes in SimpleSelector is to catch any future errors of that kind.