bugfixes and win-notification