Made some fixes to kge.q, still causes os error when launching from server