Better monitor support, still not detecting some window closes (dam you java)