updated deprecated message for empty/IsMissing()
minor cleanups to Windows/StackBasedHandleLocker