Heavy ClassDialog debugging

Tweaked class field heights to fit long lists.
Heavily debugged and fixed ClassDialog.
Tweaked and fixed related member problems.
Added automatic closure of diagram tabs, on plugin release.