move javafx init earlier in the  installer before UI gets initialized