Made wmctrl optional