set java.awt.headless to false when krun has debug-gui option