Run xmonad on primary and update xmonad for Java apps.