Reimplemented dependant card check.
Removed junk code.
Got the stupid ass CardDlg working again...