Simplify window check
Added default message
Renamed SynchronizeObject to Locker