Debugged qualities

Debugged all currently debuggable qualities.

Plus some fixes in other tabs.