Added wmname fix for broken java windows.