Mutex now completely working in windows, added example