Changed wmname to prevent Java problems