Drop qualifiers from types when checking if we can prettify them

This fixes things like const VALUEs
Fix some edge case handling
Add a organizational comment