Bugfixes, centralize window resize logic in BasicWindow, added favicon