Made Logging thread safe by using PostMessage
Fixed resource leak with SCardEstablishContext
More fixed resource leak with SCardEstablishContext
Fixed bug when no readers