Fix windows auto status
Update plugin API
Refactoring
Additional window close logic
Urlencode messages