Fixes for several detView errors.