removed home button onclick, fixed window leak bug